<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html lang="en">

<head>
  <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
  <title>LCOV - cover.info - /home/andres/Programacion/aso_coverage/aso/src/ASO/framework/combinatory_policy_simp_imp.cpp</title>
  <link rel="stylesheet" type="text/css" href="../../../../../../../../gcov.css">
</head>

<body>

  <table width="100%" border=0 cellspacing=0 cellpadding=0>
    <tr><td class="title">LCOV - code coverage report</td></tr>
    <tr><td class="ruler"><img src="../../../../../../../../glass.png" width=3 height=3 alt=""></td></tr>

    <tr>
      <td width="100%">
        <table cellpadding=1 border=0 width="100%">
        <tr>
          <td width="5%"></td>
          <td width="10%" class="headerItem">Current view:</td>
          <td width="35%" class="headerValue"><a href="../../../../../../../../index.html">directory</a> - <a href="index.html">home/andres/Programacion/aso_coverage/aso/src/ASO/framework</a> - combinatory_policy_simp_imp.cpp (source / <a href="combinatory_policy_simp_imp.cpp.func.html">functions</a>)</td>
          <td width="10%"></td>
          <td width="10%" class="headerCovTableHead">Found</td>
          <td width="10%" class="headerCovTableHead">Hit</td>
          <td width="15%" class="headerCovTableHead">Coverage</td>
          <td width="5%"></td>
        </tr>
        <tr>
          <td></td>
          <td class="headerItem">Test:</td>
          <td class="headerValue">cover.info</td>
          <td class="headerItem">Lines:</td>
          <td class="headerCovTableEntry">19</td>
          <td class="headerCovTableEntry">18</td>
          <td class="headerCovTableEntryHi">94.7 %</td>
        </tr>
        <tr>
          <td></td>
          <td class="headerItem">Date:</td>
          <td class="headerValue">2010-08-03</td>
          <td class="headerItem">Functions:</td>
          <td class="headerCovTableEntry">4</td>
          <td class="headerCovTableEntry">4</td>
          <td class="headerCovTableEntryHi">100.0 %</td>
        </tr>
                <tr><td><img src="../../../../../../../../glass.png" width=3 height=3 alt=""></td></tr>
        </table>
      </td>
    </tr>
    <tr><td class="ruler"><img src="../../../../../../../../glass.png" width=3 height=3 alt=""></td></tr>
  </table>

  <table cellpadding=0 cellspacing=0 border=0>
    <tr>
      <td><br></td>
    </tr>
    <tr>
      <td><pre class="source">
<a name="1"><span class="lineNum">       1 </span>                : #include &quot;combinatory_policy_simp_imp.h&quot;</a>
<a name="2"><span class="lineNum">       2 </span>                : </a>
<span class="lineNum">       3 </span>                : //----------Empty------------
<span class="lineNum">       4 </span><span class="lineCov">              3 : bool EmptyCombinatory::combine(const Avs&amp; elements, CombinationObserver* observer, CombinationStatus&amp; status)</span>
<span class="lineNum">       5 </span>                : {
<span class="lineNum">       6 </span><span class="lineCov">              3 :     status.status = Success;</span>
<span class="lineNum">       7 </span><span class="lineCov">              3 :     status.name = get_name();</span>
<span class="lineNum">       8 </span><span class="lineCov">              3 :     return true;</span>
<span class="lineNum">       9 </span>                : }
<a name="10"><span class="lineNum">      10 </span>                : </a>
<span class="lineNum">      11 </span>                : //---------List--------------
<span class="lineNum">      12 </span><span class="lineCov">              2 : bool ListCombinatory::combine(const Avs&amp; elements, CombinationObserver* observer, CombinationStatus&amp; status)</span>
<span class="lineNum">      13 </span>                : {
<span class="lineNum">      14 </span><span class="lineCov">              2 :     const bool isEmpty(elements.size() == 0);</span>
<span class="lineNum">      15 </span><span class="lineCov">              2 :     status.name = get_name();</span>
<span class="lineNum">      16 </span><span class="lineCov">              2 :     bool continueComb(true);</span>
<span class="lineNum">      17 </span><span class="lineCov">              2 :     if (!isEmpty)</span>
<span class="lineNum">      18 </span>                :     {
<span class="lineNum">      19 </span><span class="lineCov">              2 :         CAutonomousIterator&lt;Avs&gt; avit(elements);</span>
<span class="lineNum">      20 </span><span class="lineCov">             30 :         while (!avit.end() &amp;&amp; continueComb) //! mientras alla elementos y el obs quiera más.</span>
<span class="lineNum">      21 </span>                :         {
<span class="lineNum">      22 </span><span class="lineCov">             30 :             Avs aux;</span>
<span class="lineNum">      23 </span><span class="lineCov">             30 :             insert_into(aux, *avit);</span>
<span class="lineNum">      24 </span><span class="lineCov">             30 :             continueComb = observer-&gt;update(&amp;aux);</span>
<span class="lineNum">      25 </span><span class="lineCov">             30 :             ++avit;</span>
<span class="lineNum">      26 </span>                :         }
<span class="lineNum">      27 </span><span class="lineCov">              2 :         status.status = Success;</span>
<span class="lineNum">      28 </span>                :     }
<span class="lineNum">      29 </span>                :     else
<a name="30"><span class="lineNum">      30 </span><span class="lineNoCov">              0 :         status.status = Error;</span></a>
<span class="lineNum">      31 </span><span class="lineCov">              2 :     return continueComb;</span>
<span class="lineNum">      32 </span><span class="lineCov">              3 : }</span>
</pre>
      </td>
    </tr>
  </table>
  <br>

  <table width="100%" border=0 cellspacing=0 cellpadding=0>
  <tr><td class="ruler"><img src="../../../../../../../../glass.png" width=3 height=3 alt=""></td></tr>
  <tr><td class="versionInfo">Generated by: <a href="http://ltp.sourceforge.net/coverage/lcov.php" target="_parent">LCOV version 1.7</a></td></tr>
  </table>
  <br>

</body>
</html>
